package cn.usian.mapper;

import cn.usian.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    public List<User>findAll();
    public void add(User user);
    public void del(int id);
    public void update(@Param("uname")String uname,@Param("age")int age,@Param("sex")String sex,@Param("uid")int uid);
}
